﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using AspNetCs.IDAL;
using AspNetCs.Model;
using AspNetCs.DALFactory;
using AspNetCs.SQLServerDAL;

namespace AspNetCs.Bll
{
    public class LeaveInfoBLL
    {
        ILeaveInfo dal = Conn.CreateLeaveInfo();
        public int Add(LeaveInfo model)
        {
            return dal.Add(model);
        }

        public DataTable GetDataTable(string filter)
        {
            return dal.GetDataTable(filter);
        }
    }
}
